home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="EUC-JP"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_actions - Apache HTTP Ñ╡í╝Ñ╨</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p> <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="../">Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</a> > <a href="./">ÑΓÑ╕Ñσí╝Ñδ</a></div> <div id="page-content"> <div id="preamble"><h1>Apache ÑΓÑ╕Ñσí╝Ñδ mod_actions</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../de/mod/mod_actions.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../en/mod/mod_actions.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/mod/mod_actions.html" title="Japanese"> ja </a> | <a href="../ko/mod/mod_actions.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div> <div class="outofdate">This translation may be out of date. Check the English version for recent changes.</div> <table class="module"><tr><th><a href="module-dict.html#Description">└Γ╠└:</a></th><td>ÑßÑ╟ÑúÑóÑ┐ÑñÑ╫ñΣÑΩѻѿÑ╣Ñ╚ÑßÑ╜Ñ├Ñ╔ñ╦▒■ñ╕ñ╞ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ≥╝┬╣╘ñ╣ñδ╡í╟╜ñ≥─≤╢í</td></tr> <tr><th><a href="module-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">ÑΓÑ╕Ñσí╝Ñδ╝▒╩╠╗╥:</a></th><td>actions_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">Ñ╜í╝Ñ╣Ñ╒ÑíÑñÑδ:</a></th><td>mod_actions.c</td></tr></table> <h3>│╡═╫</h3> <p>ñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╦ñ╧╞≤ñ─ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ¼ñóñΩñ▐ñ╣íú<code class="directive"><a href="#action">Action</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧╞├─Ωñ╬ MIME Ñ┐ÑñÑ╫ñ╬Ñ╒ÑíÑñÑδñ≥ÑΩѻѿÑ╣Ñ╚ñ╡ñ∞ñ┐╛∞╣τñ╦ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ¼╝┬╣╘ñ╡ñ∞ñδñΦñªñ╦ñ╖ñ▐ñ╣íú<code class="directive"><a href="#script">Script</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ÑΩѻѿÑ╣Ñ╚ñ╟╞├─Ωñ╬ÑßÑ╜Ñ├Ñ╔ñ¼╗╚═╤ñ╡ñ∞ñ┐ñ╚ñ¡ñ╦ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ¼╝┬╣╘ñ╡ñ∞ñδñΦñªñ╦ñ╖ñ▐ñ╣íú ñ│ñ∞ñ╧Ñ╒ÑíÑñÑδñ≥╜Φ═²ñ╣ñδÑ╣Ñ»ÑΩÑ╫Ñ╚ñ╬╝┬╣╘ñ≥ñ║ñ├ñ╚┤╩├▒ñ╦ñ╖ñ▐ñ╣íú</p> </div> <div id="quickview"><h3 class="directives">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#action">Action</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#script">Script</a></li> </ul> <h3>╗▓╛╚</h3> <ul class="seealso"> <li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li> <li><a href="../howto/cgi.html">CGI ñ╦ñΦñδ╞░┼¬Ñ│Ñ≤Ñ╞Ñ≤Ñ─</a></li> <li><a href="../handler.html">Apache ñ╬Ñ╧Ñ≤Ñ╔ÑΘñ╬╗╚═╤</a></li> </ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Action" id="Action">Action</a> <a name="action" id="action">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">└Γ╠└:</a></th><td>╞├─Ωñ╬Ñ╧Ñ≤Ñ╔ÑΘñΣÑ│Ñ≤Ñ╞Ñ≤Ñ╚Ñ┐ÑñÑ╫ñ╦┬╨ñ╖ñ╞ CGI ñ≥╝┬╣╘ñ╣ñδñΦñªñ╦ └▀─Ω</td></tr> <tr><th><a href="directive-dict.html#Syntax">╣╜╩╕:</a></th><td><code>Action <var>action-type</var> <var>cgi-script</var> [virtual]</code></td></tr> <tr><th><a href="directive-dict.html#Context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚:</a></th><td>Ñ╡í╝Ñ╨└▀─ΩÑ╒ÑíÑñÑδ, Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚, Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩ, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">╛σ╜±ñ¡:</a></th><td>FileInfo</td></tr> <tr><th><a href="directive-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">ÑΓÑ╕Ñσí╝Ñδ:</a></th><td>mod_actions</td></tr> <tr><th><a href="directive-dict.html#Compatibility">╕▀┤╣└¡:</a></th><td><code>virtual</code> ╜ñ╛■╗╥ñ╚Ñ╧Ñ≤Ñ╔ÑΘ┼╧ñ╖ñ╧ Apache 2.1 ñ╟╞│╞■ñ╡ñ∞ñ▐ñ╖ñ┐</td></tr> </table> <p>ñ│ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ <var>action-type</var> ñ¼ÑΩѻѿÑ╣Ñ╚ñ╡ñ∞ñ┐ñ╚ñ¡ñ╦ <var>cgi-script</var> ñ¼╝┬╣╘ñ╡ñ∞ñδñ╚ñññª╞░║εñ≥─╔▓├ñ╖ñ▐ñ╣íú<var>cgi-script</var> ñ╧ <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ñΣ <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> ñ╦ñΦñ├ñ╞ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ╦└▀─Ωñ╡ñ∞ñ┐ÑΩÑ╜í╝Ñ╣ñ╪ñ╬ URL-path ñ╟ñ╣íú <var>Action-type</var> ñ╦ñ╧ <a href="../handler.html">handler</a> ñ½ MIME Ñ│Ñ≤Ñ╞Ñ≤Ñ╚Ñ┐ÑñÑ╫ñ≥╗╪─Ωñ╟ñ¡ñ▐ñ╣íúÑΩѻѿÑ╣Ñ╚ñ╡ñ∞ñ┐Ñ╔Ñ¡ÑσÑßÑ≤Ñ╚ñ╬ URL ñ╚Ñ╒ÑíÑñÑδñ╬Ñ╤Ñ╣ñ╧╔╕╜α CGI ┤─╢¡╩╤┐⌠ <code>PATH_INFO</code> ñ╚ <code>PATH_TRANSLATED</code> ñ≥╗╚ñ├ñ╞┼┴ñ¿ñΘñ∞ñ▐ñ╣íú ╞├─Ωñ╬ÑΩѻѿÑ╣Ñ╚ñ╦┬╨ñ╖ñ╞╗╚═╤ñ╡ñ∞ñδÑ╧Ñ≤Ñ╔ÑΘñ╪ñ╧íó <code>REDIRECT_HANDLER</code> ╩╤┐⌠ñ≥╗╚ñ├ñ╞┼╧ñ╗ñ▐ñ╣íú</p> <div class="example"><h3>╬π</h3><p><code> # Requests for files of a particular MIME content type:<br /> Action image/gif /cgi-bin/images.cgi<br /> <br /> # Files of a particular file extension<br /> AddHandler my-file-type .xyz<br /> Action my-file-type /cgi-bin/program.cgi<br /> </code></p></div> <p>║╟╜Θñ╬╬πñ╟ñ╧íóMIME Ñ│Ñ≤Ñ╞Ñ≤Ñ╚Ñ┐ÑñÑ╫ñ¼ <code>image/gif</code> ñ╬Ñ╒ÑíÑñÑδñ╪ñ╬ÑΩѻѿÑ╣Ñ╚ñ╧íó╗╪─Ωñ╖ñ┐Ñ╣Ñ»ÑΩÑ╫Ñ╚ <code>/cgi-bin/images.cgi</code> ñ╟╜Φ═²ñ╡ñ∞ñ▐ñ╣íú</p> <p>2 ╚╓╠▄ñ╬╬πñ╟ñ╧íó│╚─Ñ╗╥ñ¼ <code>.xyz</code> ñ╬Ñ╒ÑíÑñÑδñ╪ñ╬ÑΩѻѿÑ╣Ñ╚ñ╧íó╗╪─Ωñ╖ñ┐Ñ╣Ñ»ÑΩÑ╫Ñ╚ <code>/cgi-bin/program.cgi</code> ñ╟╜Φ═²ñ╡ñ∞ñ▐ñ╣íú</p> <p>ѬÑ╫Ñ╖ÑτÑ≤ñ╬ <code>virtual</code> ╜ñ╛■╗╥ñ≥╗╚═╤ñ╣ñδñ╚íó ÑΩѻѿÑ╣Ñ╚ñ╡ñ∞ñ┐Ñ╒ÑíÑñÑδñ¼╝┬║▌ñ╦┬╕║▀ñ╣ñδñ½ñ╔ñªñ½ñ≥╕í║║ñ╖ñ╩ñññΦñªñ╦ñ╟ñ¡ñ▐ñ╣íú ñ│ñ∞ñ╧╬πñ¿ñ╨íó<code class="directive">Action</code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥Ñ╨í╝Ñ┴ÑπÑδñ╩ Location ñ╦╗╚═╤ñ╖ñ┐ññíóñ╚ñññ├ñ┐╛∞╣τñ╦╩╪═°ñ╟ñ╣íú</p> <div class="example"><h3>╬π</h3><p><code> <Location /news><br /> <span class="indent"> SetHandler news-handler<br /> Action news-handler /cgi-bin/news.cgi virtual<br /> </span> </Location> </code></p></div> <h3>╗▓╛╚</h3> <ul> <li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Script" id="Script">Script</a> <a name="script" id="script">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">└Γ╠└:</a></th><td>╞├─Ωñ╬ÑΩѻѿÑ╣Ñ╚ÑßÑ╜Ñ├Ñ╔ñ╦┬╨ñ╖ñ╞ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ≥ ╝┬╣╘ñ╣ñδñΦñªñ╦└▀─Ω</td></tr> <tr><th><a href="directive-dict.html#Syntax">╣╜╩╕:</a></th><td><code>Script <var>method</var> <var>cgi-script</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚:</a></th><td>Ñ╡í╝Ñ╨└▀─ΩÑ╒ÑíÑñÑδ, Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚, Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩ</td></tr> <tr><th><a href="directive-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">ÑΓÑ╕Ñσí╝Ñδ:</a></th><td>mod_actions</td></tr> </table> <p>ñ│ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ <var>method</var> ñ╚ñññªÑßÑ╜Ñ├Ñ╔ñ≥╗╚ñ├ñ╞ÑΩѻѿÑ╣Ñ╚ñ¼╣╘ñ╩ñ∩ñ∞ñ┐ñ╚ñ¡ñ╦ <var>cgi-script</var> ñ≥╝┬╣╘ñ╣ñδñ╚ñññª╞░║εñ≥─╔▓├ñ╖ñ▐ñ╣íú <var>cgi-script</var> ñ╧ <code class="directive"><a href="../mod/mod_alias.html#scriptalias">ScriptAlias</a></code> ñΣ <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> ñ╦ñΦñ├ñ╞ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ╦└▀─Ωñ╡ñ∞ñ┐ÑΩÑ╜í╝Ñ╣ñ╪ñ╬ URL-path ñ╟ñ╣íú ÑΩѻѿÑ╣Ñ╚ñ╡ñ∞ñ┐Ñ╔Ñ¡ÑσÑßÑ≤Ñ╚ñ╬ URL ñ╚Ñ╒ÑíÑñÑδñ╬Ñ╤Ñ╣ñ╧╔╕╜α CGI ┤─╢¡╩╤┐⌠ <code>PATH_INFO</code> ñ╚ <code>PATH_TRANSLATED</code> ñ≥╗╚ñ├ñ╞┼┴ñ¿ñΘñ∞ñ▐ñ╣íú</p> <div class="note"> ╟ñ░╒ñ╬ÑßÑ╜Ñ├Ñ╔╠╛ñ≥╗╚═╤ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú <strong>ÑßÑ╜Ñ├Ñ╔╠╛ñ╧┬τ╩╕╗·╛«╩╕╗·ñ≥╢Φ╩╠ñ╖ñ▐ñ╣</strong>íúñ╟ñ╣ñ½ñΘíó <code>Script PUT</code> ñ╚ <code>Script put</code> ñ╧ñ▐ñ├ñ┐ñ»░πñ├ñ┐╕·▓╠ñ╦ñ╩ñΩñ▐ñ╣íú </div> <p><code class="directive">Script</code> Ñ│Ñ▐Ñ≤Ñ╔ñ╧Ñ╟Ñ╒Ñ⌐ÑδÑ╚ñ╬╞░║εñ≥ ─╔▓├ñ╣ñδñ└ñ▒ñ╟ñóñδñ│ñ╚ñ╦ ├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññíúñΓñ╖ CGI Ñ╣Ñ»ÑΩÑ╫Ñ╚ñ¼╕╞ñ╨ñ∞ñ┐ñΩíóÑΩѻѿÑ╣Ñ╚ñ╡ñ∞ñ┐ ÑßÑ╜Ñ├Ñ╔ñ≥╞Γ╔⌠ñ╟░╖ñªñ│ñ╚ñ╬ñ╟ñ¡ñδ┬╛ñ╬ÑΩÑ╜í╝Ñ╣ñ¼ñóñ∞ñ╨íóñ╜ñ∞ñ¼╣╘ñ╩ñ∩ñ∞ñ▐ñ╣íú <code>GET</code> ÑßÑ╜Ñ├Ñ╔ñ╬ <code class="directive">Script</code> ñ╧╠Σ╣τñ╗ ░·┐⌠ñ¼ñóñδ╛∞╣τñ╦ñ╬ñ▀ (<em>ñ┐ñ╚ñ¿ñ╨</em>íófoo.html?hi) ╕╞ñ╨ñ∞ñδñ╚ñññªñ│ñ╚ñ╦ñΓ├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññíú ñ╜ñªñ╟ñ╩ññ╛∞╣τñ╧íóÑΩѻѿÑ╣Ñ╚ñ╧─╠╛∩─╠ñΩ╜Φ═²ñ╡ñ∞ñ▐ñ╣íú</p> <div class="example"><h3>╬π</h3><p><code> # For <ISINDEX>-style searching<br /> Script GET /cgi-bin/search<br /> <br /> # A CGI PUT handler<br /> Script PUT /~bob/put.cgi<br /> </code></p></div> </div> </div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../de/mod/mod_actions.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../en/mod/mod_actions.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/mod/mod_actions.html" title="Japanese"> ja </a> | <a href="../ko/mod/mod_actions.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div><div id="footer"> <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div> </body></html>